import request from '@/utils/request'

//登录请求
export const login = ({ username, password }) => {
  return request.post('/admin/acl/index/login', { username, password })
}

//获取用户信息
export const getInfo = () => {
  return request.get('/admin/acl/index/info')
}

export function logout() {
  return request.post('/admin/acl/index/logout')
}
